package ee.videorentalstore.protocols.commands;

import ee.videorentalstore.UserAndProtocolManager;
import ee.videorentalstore.UserAndProtocolManagerStatus;

public class ExitSystemCommand extends Command
{
	
	@Override
	public String getCommandDescription() 
	{
		return "EXIT";
	}
	
	
	@Override
	public void executeCommand(String inputStreamInstructionsToProcess) 
	{
		UserAndProtocolManager.getInstance().setUserAndProtocolManagerStatus(
				UserAndProtocolManagerStatus.SHUTTING_DOWN);
	}
}
